import request from '@/utils/request'
// 获取总后台医院省份
export function getProvinces(query) {
    return request({
        url: '/com.mmk.reservation.api.OpenAreaProvider/1.0.0/allProvinceList.html',
        method: 'post',
        data: query
    })
}
// 获取医院名称
export function getHospital(query) {
    return request({
        url: '/com.mmk.reservation.api.AdminHospitalProvider/1.0.0/selectHospitalByProvCity.html',
        method: 'post',
        data: query
    })
}
// 获取分公司
export function branch(query) {
    return request({
        url: '/com.mmk.reservation.api.AdminBranchOfficeProvider/1.0.0/branchOfficeDropDown.html',
        method: 'post',
        data: query
    })
}
// 女王卡优化订单分成详情用户链
export function userChain(query) {
    return request({
        url: '/com.mmk.member.api.AdminUsersRewardTransProvider/1.0.0/getRewardUserListByOrderIdAndType.html',
        method: 'post',
        data: query
    })
}
// 订单分成明细
export function layeredDetail(query) {
    return request({
        url: '/com.mmk.member.api.AdminUsersRewardTransProvider/1.0.0/findRewardTransByOrderIdAndType.html',
        method: 'post',
        data: query
    })
}
//女王卡补贴详情
export function detail(query) {
    return request({
        url: '/com.mmk.member.api.AdminOrderApplyTransProvider/1.0.0/detail.html',
        method: 'post',
        data: query
    })
}